﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BPM.Entity
{
    /// <summary>
    /// 角色(一个User包含一或多个Role,角色包含一或多个Authority)
    /// </summary>
    public class Role : BarcodeEntity
    {
		///// <summary>
		///// 角色的编号(1,2,4,8等)
		///// </summary>
		//public int RoleId { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string Name { get; set; }

        ///// <summary>
        ///// 包含的Authority集合
        ///// </summary>
        //public virtual IList<Authority> AuthorityList { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public virtual Barcode Barcode { get; set; }

        public int BarcodeId { get; set; }
    }
}
